<?php
/*
 * @Author: zwx
 * @Date: 2024-05-30 12:05:58
 * @LastEditors: zwx
 * @LastEditTime: 2024-08-26 20:55:27
 * @Description: 消费聚水潭公域订单数据
 */
declare(strict_types=1);

namespace app\apiadmin\command;

use app\apiadmin\controller\gongyu\GetOrdersFromJST;
use think\console\Command;
use think\console\Input;
use think\console\Output;
use think\facade\Db;
use think\facade\Log;

class jushuitan_dabiaoqian extends Command
{

    protected function configure()
    {
        // 命令的名称及用途描述
        $this->setName('jushuitan_dabiaoqian')->setDescription('给订单打上短码标签');
    }

    protected function execute(Input $input, Output $output)
    {
        // 你的后台运行代码
        $output->writeln("xiaofei_biaoqian");
        // 这里可以放置你的长时间运行的代码

        $jst = new GetOrdersFromJST();
        echo $jst->xiaofei_biaoqian() . PHP_EOL;


    }





}